package com.ruibang.glass.purchase.domain.resp;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-05-30  14:06
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class RequestItemImportData {

    @ApiModelProperty(value = "物品所需存放的仓库ID")
    @ExcelIgnore
    private String warehouseId;

    @ApiModelProperty(value = "物品所需存放的仓库名称")
    @ExcelIgnore
    private String warehouseName;

    @ApiModelProperty(value = "物品ID")
    @ExcelIgnore
    private String itemId;

    @ApiModelProperty(value = "物料编码")
    @ExcelIgnore
    private String itemCode;

    @ApiModelProperty(value = "物料名称")
    @ExcelProperty(index = 0, value = "物料名称")
    @ColumnWidth(20)
    private String itemName;

    @ApiModelProperty(value = "规格型号")
    @ExcelProperty(index = 1, value = "规格型号")
    @ColumnWidth(25)
    private String specificationModel;

    @ApiModelProperty(value = "单位")
    @ExcelProperty(index = 2, value = "单位")
    @ColumnWidth(12)
    private String unit;

    @ApiModelProperty(value = "数量")
    @ExcelProperty(index = 3, value = "数量")
    @ColumnWidth(10)
    private Double quantity;

    @ApiModelProperty(value = "建议品牌")
    @ExcelProperty(index = 4, value = "建议品牌")
    @ColumnWidth(25)
    private String recommendedBrand;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(index = 5, value = "备注")
    @ColumnWidth(30)
    private String remarks;
}
